VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "NeutralAxisFixed"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'*******************************************************************************
' Copyright (C) 2008, Intergraph Corp.  All rights reserved.
'
' Project: MfgMemberProcess
' Module: NeutralAxisFixed
'
' Description:  Determines the process settings for the mfg profile
'
' Author:
'
' Comments:
' 8 Feb, 2008    Creation
'*******************************************************************************
Option Explicit

Implements IJDMfgProfileNeutralAxisRule

Const MODULE = "MfgMemberProcess"

Private Sub IJDMfgProfileNeutralAxisRule_GetNeutralAxis(ByVal oMemberPart As Object, pXValue As Double, pYValue As Double)
    Const METHOD = "NeutralAxisFixed: IJDMfgProfileNeutralAxisRule_GetNeutralAxis"
    On Error GoTo ErrorHandler
    
        Dim oSDMemberPart As New StructDetailObjects.MemberPart
        Set oSDMemberPart.object = oMemberPart
        
        oSDMemberPart.Get_Centroid pXValue, pYValue
    
    Exit Sub
    
ErrorHandler:
    Err.Raise StrMfgLogError(Err, MODULE, METHOD, , "SMCustomWarningMessages", 2031, , "RULES")
End Sub
 
